package com.neo.service.privilege;



import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

import com.neo.dao.SysPermissionMapper;
import com.neo.entity.user.SysPermission;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author z77z
 * @since 2017-02-10
 */
@Service
public class SysPermissionService {
	@Autowired
	SysPermissionMapper sysPermissionMapper;
	//@Cacheable(key = "#root.methodName", value = "pers")
	public List<SysPermission> getAll(){
		return sysPermissionMapper.getAll();
		
	}
	
}
